package com.scau.ums.service;

import com.scau.ums.model.Repairreport;

/**
 * author: 莫伟杰
 * date： 2019/7/29 15:41
 */
public interface RepairReport {
    public static String returnRepairType(int repairTypeId) {
        switch (repairTypeId){
            case 1: return "供电";
            case 2: return "供水";
            case 3: return "修建";
            case 4: return "网络";
            default: return "网络";
        }
    }
    public static String returnRepairState(int repairState){
        switch (repairState){
            case 1:return "申报";
            case 2:return "审核";
            case 3:return "派工";
            case 4:return "完工";
            case 5:return "回访";
            case 6:return "评价";
            case 7:return "拒绝";
            default:return "完工";
        }
    }

    Repairreport getRepairreportById(int id);

}
